<?php
$mysqli =new mysqli('localhost:3306','root','','boke');
if($mysqli->connect_errno){
    die ($mysqli->connect_error);
}
mysqli_query($mysqli,"set names utf8");
?>